Edit Expense
{{ form.hidden_tag() }}
{{ form.amount.label(class="form-label") }} {{ form.amount(class="form-control", placeholder="Enter updated amount") }} {% for error in form.amount.errors %}
{{ error }}
{% endfor %}
{{ form.category.label(class="form-label") }} {{ form.category(class="form-control", placeholder="Select updated category") }} {% for error in form.category.errors %}
{{ error }}
{% endfor %}
{{ form.description.label(class="form-label") }} {{ form.description(class="form-control", placeholder="Update description (optional)") }} {% for error in form.description.errors %}
{{ error }}
{% endfor %}
{{ form.date.label(class="form-label") }} {{ form.date(class="form-control stylish-input", placeholder="Select a date") }} {% for error in form.date.errors %}
{{ error }}
{% endfor %}
Save Changes
Cancel